// 需要将当前日期格式化为yyyy-MM-dd  hh:mm:ss
export default function createDate(times) {
    let time = times[1]
    let mdy = times[0]
    mdy = mdy.split('/')
    let month = parseInt(mdy[0]);
    let day = parseInt(mdy[1]);
    let year = parseInt(mdy[2])
    return year + '-' + month + '-' + day + ' ' + time
}

// 使用
// let time = new Date()
// let nowTime = createDate(time.toLocaleString('en-US', { hour12: false }).split(" "))
